package com.ly.hotel.common;

public class Constants {
	
	public static class Broadcast {
		//升级
		public static final String UPDATE = "com.ly.hotel.UPDATE";
		//通知
		public static final String NOTICE = "com.ly.hotel.NOTICE";
		public static final String CLOSE_MENU = "com.ly.hotel.closemenu";
		
		public static final String TIMING_MSG = "com.ly.hotel.timing";
		
		//显示隐藏漂浮按钮
		public static final String CALL_MENU = "com.ly.hotel.SHOW_CALL_BTN";
		public static final String CALL_HEADER = "com.ly.hotel.header";
		public static final String PLY_MENU = "com.ly.play.menu";
//		public static final String SHUAKA_TIPS = "com.ly.hotel.shuaka.tips";
		public static final String FLOAT_VIDEO = "com.ly.hotel.floatVideo";
		
		public static final String CALL_JISHI_POP_WINDOW = "com.ly.hotel.SHOW_JISHI_POP_WINDOW";
		
	}
	public static final String SPA_PLAYER_PACKET_NAME = "com.pre.localmm";
	public static final String SPA_PLAYER_FILE_NAME = "FileBrowserActivity.apk";
	
	public static final String SPA_HELPER_PACKET_NAME = "com.ly.spahelper";
	public static final String SPA_HELPER_FILE_NAME = "SpaHelper.apk";
	public static final String API_VERSION = "1.0.5";					//需要的最低版本API
	public static final String LYAGENT_VERSION = "1.0.0";				//需要的最低版本API
	
	//小圆点
	public static final int POINT_OPEN 							= 1;
	public static final int POINT_CLOSE 						= 2;
	public static final int POINT_IDLE 							= 3;
	
	public static final int SHOW_TIPS 							= 1;
	public static final int CLOSE_TIPS 							= 2;
	
	public static final int SHOW_FLOAT_VIDEO 					= 1;
	public static final int CLOSE_FLOAT_VIDEO 					= 2;

	//串口ID卡卡号长度
	public static final int SERIALPORT_IDCARD_HAND_NO_LEN		= 10;	//最原始的ID读卡器
	public static final int SERIALPORT_IDCARD_HAND_NO_LEN_12 	= 12;   //最原始的ID读卡器
	public static final int SERIALPORT_IC_ID_CARD_HAND_NO_LEN 	= 9;	//北京科信瑞通电子为我们定制的读卡器，同时支持读取两种卡(ID M1)
	public static final int SERIALPORT_M1_CARD_HAND_NO_LEN1 	= 14;	//泰格提供的读卡器(之所以不是15，是因为有可能丢掉最后一个换行字符了)
	public static final int SERIALPORT_M1_CARD_HAND_NO_LEN2 	= 15;	//泰格提供的读卡器
	public static final int SERIALPORT_HSJ_CARD_READER_LEN 		= 14;	//慧斯佳提供的读卡器
	public static final int SERIALPORT_TAI_GE_CARD_HAND_NO_LEN  = 20;	//泰格提供的接触式读卡器
	public static final int SERIALPORT_HJ_CARD_HAND_NO_LEN  	= 17;	//淘宝航嘉买的EM4305读卡器
	
	public static final int DEFAULT_SERIAL_BAUD 				= 9600;
	
	public static final String DEFAULT_CLOUD_SERVER_IP 			= "cloud.szpretv.com";
	public static final String DEFAULT_CLOUD_SERVER 			= "http://" + DEFAULT_CLOUD_SERVER_IP + ":8082/";
	public static final String DEFAULT_SPA_SERVER 				= "120.24.179.52:8081";
	public static final String DEFAULT_CLOUD_LOGS_SERVER 		= "http://cloud.szpretv.com:8083";
	public static final String DEFAULT_CLOUD_CTRL 				= "http://cloud.szpretv.com:8084";
	//电视节目表路径
	public static final String SPA_TV_LIST_FILE_PATH 			= "/data/openfiles2share/list_spa";//spa自己维护的列表地址

	//底部导航栏配置文件路径
	public static final String BTN_CFG_FILE_ROOT 				= "/data/data/com.ly.hotel/files";
	public static final String BTN_CFG_FILE_PATH 				= "/data/data/com.ly.hotel/files/btn";
	
	//系统设置文件路径
	public static final String SYS_CFG_FILE_ROOT 				= "/data/data/com.ly.hotel/files";
	public static final String SYS_CFG_FILE_PATH 				= "/data/data/com.ly.hotel/files/sys";
	
	//个性设置资源文件
	public static final String CUSTOM_FILE_ROOT 				= "/data/data/com.ly.hotel/files";
	public static final String BG_FILE_PATH 					= "/data/data/com.ly.hotel/files/bg.png";
	public static final String LOGO_FILE_PATH 					= "/data/data/com.ly.hotel/files/logo.png";
	public static final String SEAT_FILE_PATH 					= "/data/data/com.ly.hotel/files/seat.png";
	
	//开机引导图位置
	public static final String STARTUP_GUIDE_FILE_PATH 			= "/data/data/com.ly.hotel/files/startupPic/";
	
	//接口文件路径
	public static final String CUSTOM_INTERFACE_TMP 			= "/data/data/com.ly.hotel/";
	public static final String CUSTOM_WEB_SPA_TMP 				= "/data/data/com.ly.hotel/app_spadownload/";
	public static final String CUSTOM_INTERFACE_ROOT 			= "/data/data/com.ly.hotel/interface/";
	public static final String CUSTOM_WEB_SPA_ROOT 				= "/data/data/com.ly.hotel/temporary/";
	
	//系统设置文件路径
//	public static final String CLOUD_AD_CACHE_PATH = "/data/data/com.ly.hotel/cloud_ad/";
	
	//自定义的电视APK文件名
	public static final String CUSTOM_TV_APK_ROOT 				= "/data/data/com.ly.hotel/cache";
	public static final String CUSTOM_TV_APK_FILE_NAME 			= "tv.apk";
	public static final String CUSTOM_MOVIE_APK_FILE_NAME 		= "movie.apk";
	public static final String CUSTOM_MUSIC_APK_FILE_NAME 		= "music.apk";
	public static final String CUSTOM_CONTROL_APK_FILE_NAME 	= "control.apk";

	public static final String IMAGE_CACHE_FILE_PATH 			= "/data/data/com.ly.hotel/image";
	
	public static final int STARTUP_VOLUME = 15;
	
	/*音乐相关数据eventbus通信用到的宏定义*/
	public static final int GET_MUSIC_ALBUM_LIST 				= 2;
	public static final int GET_MUSIC_LIST 						= 3;

	/*呼叫状态
	 * 状态
		0：请求
		1：处理中
		2：处理完成
		3：取消
	*/
	public static final int CALL_REQUEST = 0;
	public static final int CALL_CANCLE = 3;
	public static final int CALL_WAITTING = 4;
	
	//定时消息
	public static final String REPEATTYPE_ONE 					= "仅一次";
	public static final String REPEATTYPE_EVERY_DAY 			= "每日";
	public static final String REPEATTYPE_WEEK 					= "星期";
	public static final String REPEATTYPE_MON 					= "每月";		//：Sun.=Sunday
	
	public static final String BOARD_TYPE_ADA628_NAME 			= "mango";					//	ADA628主板名称
	public static final String BOARD_TYPE_ADA801_NAME 			= "BD_TLXX_6A801";			//	ADA801主板名称
	public static final String BOARD_TYPE_A83T_NAME   			= "exdroid";				//  袁宝华主板名称,8核 a83t 纯android 4.4
	public static final String BOARD_TYPE_S812_NAME   			= "k200";					//  纯android 4.4
	public static final String BOARD_TYPE_S805_NAME   			= "m201";					//  纯android 4.4
	public static final String BOARD_TYPE_RK3128_NAME   		= "rk30sdk";	    		//  纯android 4.4
	public static final String BOARD_TYPE_RK3288_NAME   		= "rk3288";	    			//  袁宝华主板
	public static final String BOARD_TYPE_S905_NAME   	    	= "p201";	       			//  纯android 5.1
	public static final String BOARD_TYPE_S905_WY_NAME   	    = "WY_p201";	    		//  文昱科技的905主板,android 5.1
	public static final String BOARD_TYPE_6A638_NAME   	    	= "arbutus";	    		//  纯android 5.1
	public static final String BOARD_TYPE_MSM8974_NAME   	    = "MSM8974";	    		//  纯android 6.0 小米4手机
	public static final String BOARD_TYPE_6A338_NAME  	 	    = "watermelon";				//  6a338主板 4.4系统
	public static final String BOARD_TYPE_6A648_NAME  	 	    = "almond";					//  6a648主板 6.0系统
	public static final String BOARD_TYPE_ADA648_NAME  	 	    = "PRE";					//  ADA648主板 6.0系统
	public static final String BOARD_TYPE_HI_3798  				= "bigfish";				//	长虹盒子	南美用
}
